package cn.bdqn.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * 游戏类型表(GameCategory)表实体类
 *
 * @author makejava
 * @since 2023-10-17 11:24:51
 */
@SuppressWarnings("serial")
public class GameCategory extends Model<GameCategory> {
    //类型ID
    @TableId(type = IdType.AUTO)
    private Integer categoryId;
    //类型名称
    private String categoryName;


    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.categoryId;
    }
    }

